<?php include './application/views/top.php'; ?>
<script src="/static/js/ajaxfileupload.js"></script>
<script src="/static/js/gsdai.js"></script>
<script src="/static/js/My97DatePicker/WdatePicker.js"></script>
<script src="/static/js/formCheck.js"></script>
<div class="clear"></div>
<div class="user_bottom all"></div>
<div class="clear h50"></div>
<div class="layout uc">
	<?php include './application/views/user/left.php'; ?>
	<?php
		$sex = $v['sex'];
		$cardType = $v['cardType'];
	?>
	<div class="right">
		<div class="menu_list"><?php include './application/views/user/menu.php'; ?></div>
        <div class="clear h30"></div>
        <div class="tishi" style="font-size:14px; font-weight:normal;">
			<p>1、所有投标保证金将由第三方平台托管。<br>
			2、请注意您的银行卡充值限制，以免造成不便。<br>
			3、如果充值金额没有及时到账，请和客服联系。<br>
			请选择下面您最便捷的方式进行帐户充值：
			</p>
        </div>
        <div class="cont">
			<form action="/account/recharge.html" method="post">
			<input type="hidden" name="act" value="submit">
        	<dl class="line">
            	<dt>真实姓名：</dt>
                <dd><?php echo strdisplay($user['realname'], 1); ?></dd>
			</dl>
        	<dl class="line">
            	<dt>账号：</dt>
                <dd><?php echo strdisplay($user['email'], 7); ?></dd>
			</dl>
        	<dl class="line">
            	<dt>充值渠道：</dt>
                <dd>
                <?php foreach($payment_list as $val) { ?>

                    <input style=" position:relative; top:10px; float:left;"   type="radio" name="payment1" value="<?php echo $val['id']; ?>" id="payment1"  <?php if($val['nid']=='chinabank'){?>checked<?php }?>/>
                    <div class="code">
                        <img src="/static/images/payment/<?php echo $val['nid'];?>.jpg" title="<?php echo $val['name']; ?>" /> 
                        <input type="hidden" name="payname<?php echo $val['id']; ?>" value="<?php echo $val['name']; ?>" />
                
                        <span style="color:#f00;"></span><br />
                    </div>
                <?php } ?>
                </dd>
			</dl>
        	<dl class="line">
            	<dt>充值金额：</dt>
                <dd><input class="input" type="text" name="money"  value="" /> 元 </dd>
			</dl>
        	<dl class="line">
            	<dt>验证码：</dt>
                <dd>
                	<input class="fl" type="text" id="captcha" name="captcha" style="width:45px;" maxlength="4">
                    <div class="code"><img src="/yanzheng/index/" id="imgCode" onclick="changeImage();" style="height:30px;width:80px;border:0;padding:0px;cursor:pointer;"/></div>
                </dd>
			</dl>
            <div class="cb"><input class="button" type="submit" value="确认提交" /></div>
            </form>
        </div>
	</div>
</div>
<div class="clear h50"></div>
<?php include "./application/views/footer.php";?>
<script>
<?php if(isset($msg) && $msg!=''){?>
$(function(){
	$('#dialog').dialog({
		modal:true,
		title:'系统提示',
		buttons:{"确定":function(){$(this).dialog("close");}},
		close: function() {
			location='/account/recharge';
		}
	}); 
	$("#msg").html("<?php echo $msg;?>");
});
<?php }?>
</script>